<?php
/**
 * FastApp.
 * 8/23/24
 * @Author deepsea159
 * @Contact telegram:deepsea159
 */

declare(strict_types=1);

use Hyperf\Database\Seeders\Seeder;
use Hyperf\DbConnection\Db;

class Menu extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        foreach ($this->getData() as $sql) {
            try {
                Db::connection('default')->insert($sql);
            } catch (\Throwable) {
            }
        }
    }

    public function getData(): array
    {
        return [
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4834, 0, '0', '商城管理', 'mall', 'IconDragDotVertical', NULL, NULL, NULL, 2, 'M', 1, 1, 1, 1, '2024-08-17 00:10:27', '2024-08-17 00:10:27', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4835, 4834, '0,4834', '商品列表', 'mall:goods', 'icon-home', 'mall/goods', 'mall/goods/index', NULL, 2, 'M', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4836, 4835, '0,4834,4835', '商品列表列表', 'mall:goods:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4837, 4835, '0,4834,4835', '商品列表保存', 'mall:goods:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4838, 4835, '0,4834,4835', '商品列表更新', 'mall:goods:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4839, 4835, '0,4834,4835', '商品列表读取', 'mall:goods:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4840, 4835, '0,4834,4835', '商品列表删除', 'mall:goods:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4841, 4835, '0,4834,4835', '商品列表回收站', 'mall:goods:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4842, 4835, '0,4834,4835', '商品列表恢复', 'mall:goods:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4843, 4835, '0,4834,4835', '商品列表真实删除', 'mall:goods:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2024-08-17 08:38:20', '2024-08-17 08:38:20', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4844, 4834, '0,4834', '订单列表', 'mall:order', 'icon-home', 'mall/order', 'mall/order/index', NULL, 2, 'M', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 02:35:54', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4845, 4844, '0,4834,4844', '订单列表', 'mall:order:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4846, 4844, '0,4834,4844', '订单保存', 'mall:order:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4847, 4844, '0,4834,4844', '订单更新', 'mall:order:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4848, 4844, '0,4834,4844', '订单回收站', 'mall:order:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4849, 4844, '0,4834,4844', '订单恢复', 'mall:order:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4850, 4844, '0,4834,4844', '订单真实删除', 'mall:order:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4851, 4844, '0,4834,4844', '订单删除', 'mall:order:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(4852, 4844, '0,4834,4844', '订单读取', 'mall:order:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, 1, '2024-08-17 08:45:03', '2024-08-17 01:23:39', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5014, 4834, '0,4834', '品牌列表', 'mall:brand', 'icon-home', 'mall/brand', 'mall/brand/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5015, 5014, '0,4834,5014', '品牌列表列表', 'mall:brand:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5016, 5014, '0,4834,5014', '品牌列表保存', 'mall:brand:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5017, 5014, '0,4834,5014', '品牌列表更新', 'mall:brand:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5018, 5014, '0,4834,5014', '品牌列表读取', 'mall:brand:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5019, 5014, '0,4834,5014', '品牌列表删除', 'mall:brand:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5020, 5014, '0,4834,5014', '品牌列表回收站', 'mall:brand:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5021, 5014, '0,4834,5014', '品牌列表恢复', 'mall:brand:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5022, 5014, '0,4834,5014', '品牌列表真实删除', 'mall:brand:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:10', '2025-02-24 17:22:10', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5023, 4834, '0,4834', '分类列表', 'mall:category', 'icon-home', 'mall/category', 'mall/category/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5024, 5023, '0,4834,5023', '分类列表列表', 'mall:category:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5025, 5023, '0,4834,5023', '分类列表保存', 'mall:category:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5026, 5023, '0,4834,5023', '分类列表更新', 'mall:category:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5027, 5023, '0,4834,5023', '分类列表读取', 'mall:category:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5028, 5023, '0,4834,5023', '分类列表删除', 'mall:category:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5029, 5023, '0,4834,5023', '分类列表回收站', 'mall:category:recycle', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5030, 5023, '0,4834,5023', '分类列表恢复', 'mall:category:recovery', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5031, 5023, '0,4834,5023', '分类列表真实删除', 'mall:category:realDelete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:12', '2025-02-24 17:22:12', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5032, 4834, '0,4834', '标签列表', 'mall:tag', 'icon-home', 'mall/tag', 'mall/tag/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-02-24 17:22:13', '2025-02-24 17:22:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5033, 5032, '0,4834,5032', '标签列表列表', 'mall:tag:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:13', '2025-02-24 17:22:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5034, 5032, '0,4834,5032', '标签列表保存', 'mall:tag:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:13', '2025-02-24 17:22:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5035, 5032, '0,4834,5032', '标签列表更新', 'mall:tag:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:13', '2025-02-24 17:22:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5036, 5032, '0,4834,5032', '标签列表读取', 'mall:tag:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:13', '2025-02-24 17:22:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5037, 5032, '0,4834,5032', '标签列表删除', 'mall:tag:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:22:13', '2025-02-24 17:22:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5038, 4834, '0,4834', '商店列表', 'mall:shop', 'icon-home', 'mall/shop', 'mall/shop/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-02-24 17:40:22', '2025-02-24 17:40:22', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5039, 5038, '0,4834,5038', '商店列表列表', 'mall:shop:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:40:22', '2025-02-24 17:40:22', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5040, 5038, '0,4834,5038', '商店列表保存', 'mall:shop:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:40:22', '2025-02-24 17:40:22', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5041, 5038, '0,4834,5038', '商店列表更新', 'mall:shop:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:40:22', '2025-02-24 17:40:22', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5042, 5038, '0,4834,5038', '商店列表读取', 'mall:shop:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:40:22', '2025-02-24 17:40:22', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5043, 5038, '0,4834,5038', '商店列表删除', 'mall:shop:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-02-24 17:40:22', '2025-02-24 17:40:22', NULL, NULL);",
        ];
    }
}
